#!/bin/bash

echo "abc"
touch /tmp/datax.log


# fix docker crontab not start
sed -i 's/required/sufficient/g' /etc/pam.d/crond

# start cron daemon
#crond -n   # forge ground
crond -i     # daemon

# add task  /datax/cron
crontab /datax/timer_job

tail -f /tmp/datax.log

